import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import StringComponent from './views/String.vue'
import ListComponent from './views/List.vue'
import HashComponent from './views/Hash.vue'
import SetComponent from './views/Set.vue'
import ZsetComponent from './views/Zset.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/string',
      name: 'StringComponent',
      component: StringComponent
    },
    {
      path: '/list',
      name: 'ListComponent',
      component: ListComponent
    },
    {
      path: '/hash',
      name: 'HashComponent',
      component: HashComponent
    },
    {
      path: '/set',
      name: 'SetComponent',
      component: SetComponent
    },
    {
      path: '/zset',
      name: 'ZsetComponent',
      component: ZsetComponent
    }
  ]
})
